﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using HelloAttribute;

namespace METTest
{
    [Export(typeof(IHelloWord))]
    [HelloWordAttribute(Transport = HelloTransport.Smtp)]
    internal class HelloWord : IHelloWord
    {
        public string SayHello(string str)
        {
            return "你好吗：" + str;
        }
        public string SayWord(string str)
        {
            return str;
        }
    }
}